package com.zaoke.web.bo.order;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class OrderFood {

	private Long orderid;
	
	private Long foodid;
	
	private Long userid;
	
	private String foodname;
	
	private Integer foodtype;
	
	private Double price;
	
	public Long getFoodid() {
		return foodid;
	}

	public void setFoodid(Long foodid) {
		this.foodid = foodid;
	}

	public Long getOrderid() {
		return orderid;
	}

	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getFoodname() {
		return foodname;
	}

	public void setFoodname(String foodname) {
		this.foodname = foodname;
	}

	public Integer getFoodtype() {
		return foodtype;
	}

	public void setFoodtype(Integer foodtype) {
		this.foodtype = foodtype;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.SHORT_PREFIX_STYLE);
	}	
	
}
